<?php
use think\facade\App;
use think\facade\Env;
return [

    // 微信开放平台接口
    'service_url' => 'https://open.51lyh.com',

    //【开放平台】 微信支付（快乐岛）
    'app_appid'          => 'wx84378d11f6261890',
    'app_appsecret'      => '571757eaef2d07f46ca8fc6901832de5',
    'app_mch_id'         => "1382537502",
    'app_mch_key'        => 'mNeup9QXabfv5iGuxibMY2lX92k2ic88',
    // 企业付款/退款用到正式
    'app_ssl_key'        => App::getRootPath() . 'extend\org\WePayCert\app' . DIRECTORY_SEPARATOR . 'apiclient_key.pem',
    'app_ssl_cer'        => App::getRootPath() . 'extend\org\WePayCert\app' . DIRECTORY_SEPARATOR . 'apiclient_cert.pem',

    //【兵力公众平台】微信支付（楼友汇的商户号）
    'appid'          => 'wxab6e1c21fcbf0f1f',
    'appsecret'      => '9890a0d7c91801a609d151099e95b61a',
    'mch_id'         => "1503372811",
    'mch_key'        => 's6aITei3J3d4UYcCn3k0Mq0fsdeweeee',
    // 企业付款/退款用到正式
    'ssl_key'        => App::getRootPath() . 'extend/org/WePayCert/lyh' . DIRECTORY_SEPARATOR . 'apiclient_key.pem',
    'ssl_cer'        => App::getRootPath() . 'extend/org/WePayCert/lyh' . DIRECTORY_SEPARATOR . 'apiclient_cert.pem',

    //【小程序配置信息】
    'wxapp_appid'          => Env::get('wxapp.appid','wxf9c8f1834aa57810'),
    'wxapp_appsecret'      => Env::get('wxapp.appsecret','ac3139fdcc8a7fae9819ed46eab694c3'),
    'wxapp_mch_id'         => Env::get('wxapp.mch_id','1517697481'),
    'wxapp_mch_key'        => Env::get('wxapp.mch_key','s6aITei3J3d4UYcCn3k0Mq0fsdeweeee'),


    // 配置缓存目录，需要拥有写权限
    'cache_path'     => '',
    //异步通知url
    'notify_url'     => request()->root(true) . '/api/notify/weixin',
    'notify_url_test'     => 'http://nat.jjhun.com/callback/notify/weixin',
];